export interface Condition {
  colName: string
  ruleType: string
  value?: string | number | boolean | string[] | number[]
}

export interface Page {
  pageNo: number
  rownumber: number
  total?: number
}

export interface selectReq {
  serviceName: string
  colNames: string[]
  page?: Page
  use_type?: string
  query_source?: string
  condition?: Condition[]
  relation_condition?: object
  vpage_no?: string
  order?: any[]
}
export interface selectResp {
  data: any[]
  page: {
    total: number
  }
  state: 'SUCCESS' | 'FAIL'
}
